#!/bin/bash

set -e

dest_path=$HOME/.local/bin/status-bar
src_path=$(pwd)/target/release/status-bar
rm -rf $dest_path
cargo build --release
ln -s $src_path $dest_path
